package com.icehand.common.code;

import lombok.Getter;

/**
 * @author icehand
 */
@Getter
public enum OrderCode implements CodeEnum<Integer> {
    /**
     * not found
     */
    NOT_FOUND(1000,"订单不存在"),
    ERROR(1001,"订单错误"),

    ;

    private Integer code;
    private String msg;

    OrderCode(Integer code, String msg){
        this.code = code;
        this.msg = msg;
    }
}